import React from 'react'
import {
  HashRouter,
  Switch,
  Route,
} from "react-router-dom"

import Home from '../index/Home'
import Denglu from '../index/Denglu'


class Router extends React.Component {
  render () {
    return(
      <div>
        <HashRouter>
          <Switch>

            <Route path='/Denglu'   component={Denglu} />
            <Route path='/'   component={Home} />

          </Switch>
        </HashRouter>
      </div>
    )
  }
}

export default Router